interface FU {
    foo: string;
    bar: number;
    name: string;
}
type O = Omit<FU, 'name'>;
type P = Pick<FU, 'name'>;